﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CDC.SampleShell.Infrastructure.Events
{
    public class ChangesetReceivedEventArgs : EventArgs
    {
        public Guid GlobalRecordId { get; private set; }
        public int FormId { get; set; }

        public ChangesetReceivedEventArgs(Guid globalRecordId)
        {
            GlobalRecordId = globalRecordId;
            FormId = -1;
        }

        public ChangesetReceivedEventArgs(Guid globalRecordId, int formId)
        {
            GlobalRecordId = globalRecordId;
            FormId = formId;
        }
    }
}
